package com.by.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@ApiModel("部门树")
@Data
public class DeptTree {

    @ApiModelProperty("部门id")
    int id;

    @ApiModelProperty("部门名称")
    String name;

    @ApiModelProperty("子部门")
    List<DeptTree> children;
}
